class CreateSyllabusOpenings < ActiveRecord::Migration
  def self.up
    create_table :syllabus_openings do |t|
      t.integer :syllabus_id
      t.datetime :start
      t.datetime :end
      t.text :description
      t.string :created_by
      t.string :updated_by
      t.string :open_flag, :limit => 1, :default => "N"
      t.timestamps
    end
  end

  def self.down
    drop_table :syllabus_openings
  end
end
